<%@ page language="java" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<c:set var="ctx" value="${pageContext.request.contextPath}"></c:set>
		<div class="ui card">
			<div class="content">
				<c:choose>
					<c:when test="${userInfo.gendar eq '女' }">
						<img class="ui avatar image"
							src="//${static_server }/images/helen.jpg">
					</c:when>
					<c:otherwise>
						<img class="ui avatar image"
							src="//${static_server }/images/elliot.jpg">
					</c:otherwise>
				</c:choose>
				${userInfo.name }
			</div>
			<div class="content">
				<div class="meta">
					<span class="date">${userInfo.createDate }加入</span>
				</div>
				<div class="description">
					${userInfo.roleNames }
					<c:if test="${userInfo.roleNames eq '普通学生用户' }">
						<i class="orange help inline circle icon"
							data-content="普通用户及注册用户，普通用户可以使用绝大多数本系统功能，一些高级功能您可以通过在线购买相应产品获得使用权限。"
							data-variation="wide"></i>
					</c:if>
				</div>
			</div>
		</div>
		<div class="ui fluid pointing vertical menu">
			<a class='<c:if test="${param.item == 1 }">active</c:if> item' href="//${dynamic_server }/user/order.do"> 我的订单 </a>
			
			<a class='<c:if test="${param.item == 2 }">active</c:if> item' href="/user/info.do"> 我的信息 </a>
			<a class='<c:if test="${param.item == 3 }">active</c:if> item' href="/user/active.do"> 激活VIP </a>
			<a class='<c:if test="${param.item == 4 }">active</c:if> item'> 我的关注</a>
			<a class='<c:if test="${param.item == 5 }">active</c:if> item' href="//${dynamic_server }/quiz/my.do"> 我的职业测评</a> 
			<a class='<c:if test="${param.item == 6 }">active</c:if> item'> 密码修改 </a>
			<a class='<c:if test="${param.item == 7 }">active</c:if> item' href="//${dynamic_server }/user/campagin.do"> 中国移动活动专区<em class="hotNav"></em> </a>
			
		</div>
</body>
</html>